
  <div class="x_panel">
    <div class="x_content row">
      <div class=" col-md-6 col-sm-12 col-xs-12">
        <form class="form-horizontal form-label-left" action="{$actionUrl}" method="post">
          <div class="form-group">
            <label class="control-label col-md-4 col-sm-4 col-xs-12">角色：</label>
            <div class="checkbox col-md-8 col-sm-8 col-xs-12">
              {if $config.role==1}店主{else}店长{/if}
              </div>
            <label class="control-label col-md-4 col-sm-4 col-xs-12">类型：</label>
            <div class="checkbox col-md-8 col-sm-8 col-xs-12">
              {if $config.type==0}入场券使用{elseif $config.type==1}会员卡使用{elseif $config.type==2}商品出售{elseif $config.type==3}商品回收{elseif $config.type==4}摇摇车{/if}
            </div>
            <label class="control-label col-md-4 col-sm-4 col-xs-12">佣金比例：</label>
            <div class="checkbox col-md-8 col-sm-8 col-xs-12">
              <input class="form-control col-md-3 col-xs-12" required="required" type="text" name="form[config_value]" value="{$config.config_value}">
            </div>
          </div>
          <div class="col-md-3 col-sm-12 col-xs-12 col-md-offset-4 col-sm-offset-4">
            <input name="config_id" type="hidden" value="{$config.config_id}">
            <button class="btn btn-primary" type="submit">更新</button>
          </div>
        </form>
      </div>
    </div>
  </div>